/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dao;

import entities.User;

/**
 *
 * @author alessandro
 */
public class testPersistence {

    public static void main(String[] args) throws Exception {
        User admin = UserDAO.findUser("admin", "admin");
        System.out.println("Utente: " + admin.getUser() + " Password: " + admin.getPassword());

        admin.setPunti(3);

        UserDAO.update(admin);
    }
}
